<template>
    <div style="background-color: pink;">
        num在ch1中：{{ store.state.count }}
        <hr>
        {{ store.state.nick }}
    </div>
</template>

<script setup>
import {useStore} from 'vuex';
const store = useStore()
</script>

<style lang="scss" scoped>

</style>